Skip to content

feat: 🎸 Reply support & other changes#12

Merged
highesttt merged 9 commits into
mainfrom
3-feat-reply-support
Jan 9, 2026
Merged

feat: 🎸 Reply support & other changes#12
highesttt merged 9 commits into
mainfrom
3-feat-reply-support

Conversation

@highesttt

Copy link
Copy Markdown
Collaborator

No description provided.

@highesttt highesttt linked an issue Jan 9, 2026 that may be closed by this pull request
@highesttt highesttt requested a review from Copilot January 9, 2026 01:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements reply support for the LINE bridge and renames the project from mautrix-line-messenger to matrix-line-messenger. The changes enable users to reply to messages in both directions (LINE → Matrix and Matrix → LINE) and updates all references throughout the codebase to reflect the new project name.

Key changes:

  • Added reply support with new fields in the Message struct and logic to resolve reply relationships in both directions
  • Changed SendMessage to return the sent message for proper ID tracking
  • Renamed the project module and all import paths from mautrix-line-messenger to matrix-line-messenger

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pkg/line/structs.go Added reply-related fields (RelatedMessageID, MessageRelationType, RelatedMessageServiceCode) to Message struct
pkg/line/methods.go Modified SendMessage to return the sent Message object instead of just error
pkg/connector/client.go Implemented resolveReplyRelatesTo for incoming replies, added reply handling for outgoing messages, added RelatesTo to all message types, changed sticker MsgType from MsgImage to MsgFile
pkg/line/secret/secret.go Updated import path to new project name
pkg/line/client.go Updated import paths to new project name
pkg/e2ee/manager.go Updated import paths to new project name
pkg/connector/connector.go Updated import paths, bridge type, step IDs, and removed NetworkIcon URL
go.mod Changed module name to new project name
docker-run.sh Updated binary name from mautrix-line to matrix-line
docker-compose.yml Renamed service and reformatted with consistent indentation
cmd/matrix-line/main.go Updated import path, bridge name, and URL
build.sh Updated build command to use new cmd directory
README.md Updated all references to new project name, marked reply support as complete, added usage documentation
Dockerfile Updated build command and binary copy to use new name
.pre-commit-config.yaml Updated local import path
.gitignore Updated binary name pattern

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment on lines +65 to +71
docker compose up --build (-d)
```

To run the bridge without rebuilding, use:

```bash
docker compose up (-d)

Copilot AI Jan 9, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation shows incorrect command syntax. The flag syntax (-d) in parentheses is not valid shell syntax. It should be either included as part of the command docker compose up --build -d or shown as an optional flag more clearly.

Suggested change
docker compose up --build (-d)
```
To run the bridge without rebuilding, use:
```bash
docker compose up (-d)
docker compose up --build -d
```
To run the bridge without rebuilding, use:
```bash
docker compose up -d

Copilot uses AI. Check for mistakes.
Comment thread README.md Outdated
Comment thread pkg/connector/client.go Outdated
@highesttt highesttt merged commit 9f31b40 into main Jan 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

feat: ✨ Reply support

2 participants